LiveView class¶
Attributes: [DefaultMember("Item")] [DebuggerDisplay("LiveView: {Count}")]
Defined in
Namespace: ReactiveList.Reactive.Queries Assembly: ReactiveList.Reactive.dll Full name: ReactiveList.Reactive.Queries.LiveView<T> Modifiers: public sealed
Summary¶
View source (opens in a new tab)
A read-only, observable view of the items a live query includes.
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Class hierarchy
classDiagram
class LiveView~T~
class IReadOnlyList~T~ {
<>
}
IReadOnlyList~T~ <|.. LiveView~T~
class IEnumerable~T~ {
<>
}
IEnumerable~T~ <|.. LiveView~T~
class IEnumerable {
<>
}
IEnumerable <|.. LiveView~T~
class IReadOnlyCollection~T~ {
<>
}
IReadOnlyCollection~T~ <|.. LiveView~T~
class INotifyCollectionChanged {
<>
}
INotifyCollectionChanged <|.. LiveView~T~
class INotifyPropertyChanged {
<>
}
INotifyPropertyChanged <|.. LiveView~T~
class IReactiveView~LiveView~T~, T~ {
<>
}
IReactiveView~LiveView~T~, T~ <|.. LiveView~T~
class IDisposable {
<>
}
IDisposable <|.. LiveView~T~
Implements: IReadOnlyList
Properties¶
| Name | Summary |
|---|---|
| BatchResetLimit | Gets or sets the size above which one applied batch raises a single reset instead of one notification per item. |
| Count | Gets the number of items in the view. |
| Items | Gets the read-only observable collection for UI binding. |
| this[] | Gets the item at the specified index. |
Methods¶
| Name | Summary |
|---|---|
| GetEnumerator | Enumerates a snapshot of the view's items. |
| Refresh | Forces a rebuild of the view from the source. |
| ToProperty | Assigns the items collection to a property using the specified setter action. |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Events¶
| Name | Summary |
|---|---|
| CollectionChanged | Occurs when the collection changes. |
| PropertyChanged | Occurs when a property value changes. |
Inherited members
System.Object.Equals(System.Object)(opens in a new tab)System.Object.Equals(System.Object,System.Object)(opens in a new tab)System.Object.GetHashCode(opens in a new tab)System.Object.GetType(opens in a new tab)System.Object.MemberwiseClone(opens in a new tab)System.Object.ReferenceEquals(System.Object,System.Object)(opens in a new tab)System.Object.ToString(opens in a new tab)